//
//  SinaUserAccountViewModel.h
//  MySinaWeiboProjectForOC
//
//  Created by apple on 2016/11/17.
//  Copyright © 2016年 WangChen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SinaUserAccountModel.h"

@interface SinaUserAccountViewModel : NSObject

@property(nonatomic,strong) SinaUserAccountModel *userAccountModel;
//判断是否已经登录
@property (nonatomic,assign) BOOL isLogin;

//用户头像地址
@property(nonatomic,strong) NSURL *iconURL;

//单例
+(instancetype)shared;

//访问token
-(void)accessTheTokenWithCode:(NSString *)code finishBlock:(void(^)(BOOL res))finish;


@end
